package factory.abstr;

import factory.Computer;
import factory.func.Factory;
import factory.func.LenvoFactory;

/**
 * Created by liuweijie on 2018/4/24.
 */
public class DefaultFactory extends AbstaceFactory implements Factory{
    // 自定义默认的电脑厂商是谁
    @Override
    public Computer getComputer() {
        return new LenvoFactory().getComputer();
    }
}
